Welcome![Sign In][Sign Up]
Location:
Search - vc b

Search list

[Graph programBSplineDemo.rar

Description: 用vc编写的一个B样条曲线算法,根据鼠标输入的点动态绘制B样条曲线,并且可以修改控制点,从而修改曲线形状.
Platform: | Size: 32800 | Author: | Hits:

[Graph Recognize车牌识别

Description:


需要注意的地方:

使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)

1)位图信息的数据是从左下往右下为一行,一行一行往上排的。

2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。

3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。

4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。

5)程序执行流程

应用程序生成--》打开--》CDipView的OnFileOpen 函数--》

调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL); 刷新

自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

比较重要的地方

读BMP文件,只能打开256色   (可以是灰度)

显示和内存贴图技术

关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。


关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文

windows下的MFC编程机制,消息驱动,事件等待!

全局的app(应用程序对象)

注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete

虽然已经弄出来了,还是希望大家好好读读源程序。

你们以后的工作:

在菜单中添加菜单项,通过ClassWizzard 生成消息响应函数(当然也可手动添加),
所有的操作应当是对 BYTE* ImgData;进行的。
在完成相应的功能后 将 isnewfile 和 isnewiamge 置为真 ,并使用myDoc->UpdateAllViews(NULL); 刷新

当然,可以更加有个性化一点,有能力的同学可以自己完成。
随着课程的进行,菜单功能逐渐丰富,最后完成基本的数字图像处理的功能,而不必最后一下完成一个大的作业。

 

 


Platform: | Size: 295054 | Author: tata80808 | Hits:

[Windows Developexpr

Description: 可以计算各种函数,还可以使用变量,如A,B,C,D。可以计算各种数学函数sin cos tg ctg,处理括号,四则运算,是VC中一款不可多得的表达式计算类和计算工具。例如:cos(0) 1-can calculate various functions, variables can also be used, such as A, B, C, D. Can calculate mathematical functions sin cos tg rays, handling brackets, four operators, one VC is a rare expression of calculating and computing tools. For example : cos (0) 1
Platform: | Size: 45263 | Author: 何福保 | Hits:

[Other resource221121711222005622135524929143

Description: 一个画nurbs曲面的vc程序 可能贵站已经有此代码 贵站有许多程序代码我非常有用 需要写进我工作所要做的dxf数据转换程序中 希望站长能开通我的帐号 让我下载贵站代码完成我的工作 完成后我会将代码上传 那是一个将dxf转换成 点 线 面的程序 会转换所有 dxf平面 图形 所有平面的 块 图层 颜色 填充体 现在只差dxf的样条曲线 就会完成 程序 贵站有我需要的B样条 nurbs等 曲线的代码 会帮助我完成程序 完成后我会将代码 上传 我的程序 汇集了 GIS系统 数据转换系统 实现了一些 较难 图形了的算法 如斜椭圆 斜椭圆弧 样条曲线 的算法 一个程序绝对 可以顶5个 希望站长 先能开通我的帐号-a painting NURBS surfaces vc Guizhan procedures may have this code Guizhan many of the code I need to be very useful part of my work to be done dxf data conversion program director can hope to open my account so I downloaded code Guizhan finish my work I will be completed after the code is uploaded to a dxf conversion-point line will change the procedures for all dxf graphic block all planar layer colors filled only a dxf reflected in the kind of curve will be completed procedures Guizhan I need a B-spline curves, such as NURBS code will help me complete the formalities are completed I will upload the code procedures pool of GIS data conversion system more difficult to achieve some of the graphics algorithms such as ramps elliptical ramp ellipse spline curve algorithm a procedure can certa
Platform: | Size: 55258 | Author: zhen | Hits:

[DirextXjakarta-tomcat-4.1.31-src

Description: jakarta-tomcat-4.1.31-src.zip ... fh.rar - 用浮动水平线法实现的三维曲面造型。 (2004-7-2,C, 2KB, 下载9 ... 查看评论】 nurbs++-3.0.11.zip - 一个nurbs的开发库,包含了nurbs曲线、曲面的源代码 ... BSplineDemo. rar - 用vc编写的一个B样条曲线算法,根据鼠标输入的点动态绘制B样条曲线 ... -JAKARTA - tomcat - 4.1.31 - src.zip ... fh.rar-floating horizontally using the law to achieve 3D surface modeling. (2004-7-2, C, 2KB, download 9 ... View comments -- NURBS - 3.0.11.zip-a NURBS for the development, including the NURBS curves and surfaces of the source code ... BSplineDemo. Rar-use vc preparation of a B-spline curve algorithm, based on mouse input point dynamic mapping of the B-spline curve
Platform: | Size: 2591179 | Author: | Hits:

[OpenGL programNurbsSurf

Description: VC编的OpenGL下显示非均匀有理B样条曲面(NURBS),可供图形学初学者参考-VC series of the OpenGL display non-uniform rational B-spline surfaces (NURBS), the reference graphics beginners
Platform: | Size: 106847 | Author: lanhaibo2003 | Hits:

[ComboBoxnweelc097

Description: 序功能:实现B样条曲线的计算和显示..翻译 开发工具:VC 提供...·一个简单的绘图软件源代码..翻译 开发工具:VC 提供...·计算机图形学中用DDA与中点法画直线序?δ?实现B样条曲线的计算和显示..翻译 开发工具:VC 提供...·一个简单的绘图软件源代码..翻译 开发工具:VC 提供...·计算机图形学中用DDA与中点法画直线-sequence features : B-spline curve calculation and display .. Translation Tools : VC ... provide a simple mapping software source code development tools .. Translation : VC for using computer graphics ... DDA and the midpoint of paintings linear sequence function : B-spline curve calculation and display .. Translation Tools : VC ... provide a simple mapping software source code development tools .. Translation : VC for using computer graphics ... DDA and the midpoint of paintings linear sequence functions : to achieve B-spline curve calculation and display .. Translation Tools : VC ... provide a simple mapping software source code development tools .. Translation : VC for using computer graphics ... DDA and the midpoint of paintings straight
Platform: | Size: 2042036 | Author: 冷新风 | Hits:

[TreeViewlecture8

Description: 序功能:实现B样条曲线的计算和显示..翻译 开发工具:VC 提供...·一个简单的绘图软件源代码..翻译 开发工具:VC 提供...·计算机图形学中用DDA与中点法画直线序功能:实现B样条曲线的计算和显示..翻译 开发工具:VC 提供...·一个简单的绘图软件源代码..翻译 开发工具:VC 提供...·计算机图形学中用DDA与中点法画直线-sequence features : B-spline curve calculation and display .. Translation Tools : VC ... provide a simple mapping software source code development tools .. Translation : VC for using computer graphics ... DDA and the midpoint of paintings linear sequence function : B-spline curve calculation and display .. Translation Tools : VC ... provide a simple mapping software source code development tools .. Translation : VC for using computer graphics ... DDA and the midpoint of paintings straight
Platform: | Size: 221216 | Author: 冷新风 | Hits:

[GUI DevelopADO_Grid表格平台

Description: 1 这是我用VC做的电子表格平台,可实现对窗口表格视图和其背景数据库的若干基本操作。 (a动态创建新表, b在表中添加、删除行、列, c打开、保存、另存表格, d制作了一个属性对话框来修改表格的基本属性,如行数、列数、标题等) 用户可通过视图上操作改变背景数据库 2 数据库操作采用ADO, 背景数据库采用Access 视图采用单文档界面和CGridCtrl控件 3 本软件在运行时,在debug文件夹中要考入“资料”的access文件,否则出错 4 请版主批评指正,谢谢 westlife04@Tom.com-This is a VC do I use electronic forms platform, to achieve the View window forms the background and some of the basic database operations. (Dynamic creation of a new table, b, in the table to add, delete rows and columns, c open, preservation, separate forms, d produced a dialog box to change attributes form the basic attributes, such as the number of firms are few, Heading etc.) users can view on the background change operation two databases using ADO database operation, background View Access database using a single interface and documentation controls three CGridCtrl software Win And when the debug folder to be admitted to "information" access to the documents, Otherwise, please moderator four errors criticism correction, thank westlife04@Tom.com
Platform: | Size: 355609 | Author: 湖朝 | Hits:

[Other resourceComputerGraphic

Description: 用VC++寫的Bezier 以及 B-Spline 程式 可任意點-VC write Bezier and B-Spline programs can be arbitrary point
Platform: | Size: 60945 | Author: 程坤 | Hits:

[Internet-NetworkInternetProgramming

Description: See Appendix B for a description of the programs included on this companion disk. RESOURCE.WRI identifies other books and resources for Internet programming. WEBHELP.HLP contains an introduction to the World Wide Web. TCPMAN.HLP provides detailed instructions to help you use the Trumpet Winsock included on this disk. Use the Program Manager s File menu Run option to execute the SETUP.EXE program found on this disk. SETUP.EXE will install the programs on your hard drive and create an Internet Programming group window. Internet编程技术 [配套程序] [涉及平台] VC [作者] void [文件大小] 1032K -See Appendix B for a description of the prog rams included on this companion disk. RESOURCE . WRI identifies books and other resources for I '96 programming. WEBHELP.HLP contains an introduction to the World Wide Web. TCPMAN.HLP provides detailed instructions to help you use the Trumpet Winsock included on this disk. Use t he Program Manager Run s File menu option to exec pop the SETUP.EXE program found on this disk. SE TUP.EXE will install the programs on your hard d RCD and create an Internet Programming group w INDOW. Internet programming techniques [supporting] [procedures involving platform] VC [Author] void [Size] 1032K
Platform: | Size: 980364 | Author: 罗宝生 | Hits:

[Graph Recognize200561555616250020000

Description: 车牌识别系统 需要注意的地方: 使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI) 1)位图信息的数据是从左下往右下为一行,一行一行往上排的。 2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。 3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。 4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。 5)程序执行流程 应用程序生成--》打开--》CDipView的OnFileOpen 函数--》 调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL) 刷新 自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 比较重要的地方 读BMP文件,只能打开256色 (可以是灰度) 显示和内存贴图技术 关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved 每一个像素点都有一个相应的数组。-LPR system needs to the attention of the local : VC 6.0 do use development tools, SDI simple frame structure, handling a bitmap (interested can make MDI) 1) bitmap data is the information from the right and the left for his , and his party up his platoon. 2) pixels per line should be in multiples of four, the inadequacies of the points are filled with empty, Reading, the point to skip redundant. 3) key data exists inside Doc. BMP key data on the existence of a ImgData BYTE directly to the type of memory space (according to the Bitmap a small, dynamic allocation). 4) Data Reading come after, pay attention to the memory mapping, in order to ensure high efficiency. 5) implementation of procedures for application generation process -- "Open --" the OnFileOpe CDipView n Functions -- &
Platform: | Size: 233235 | Author: yanglin | Hits:

[Other resourcelicense_orientation

Description: 车牌定位---VC++源代码程序 1.24位真彩色->256色灰度图。 2.预处理:中值滤波。 3.二值化:用一个初始阈值T对图像A进行二值化得到二值化图像B。 初始阈值T的确定方法是:选择阈值T=Gmax-(Gmax-Gmin)/3,Gmax和Gmin分别是最高、最低灰度值。 该阈值对不同牌照有一定的适应性,能够保证背景基本被置为0,以突出牌照区域。 4.削弱背景干扰。对图像B做简单的相邻像素灰度值相减,得到新的图像G,即Gi,j=|Pi,j-Pi,j-1|i=0,1,…,439 j=0,1,…,639Gi,0=Pi,0,左边缘直接赋值,不会影响整体效果。 5.用自定义模板进行中值滤波 区域灰度基本被赋值为0。考虑到文字是由许多短竖线组成,而背景噪声有一大部分是孤立噪声,用模板(1,1,1,1,1)T对G进行中值滤波,能够得到除掉了大部分干扰的图像C。 6.牌照搜索:利用水平投影法检测车牌水平位置,利用垂直投影法检测车牌垂直位置。 7.区域裁剪,截取车牌图像。 -positioning plates -- VC source code procedures 1.24 true color -
Platform: | Size: 739411 | Author: 贺娜 | Hits:

[Process-ThreadGetModuleBaseAddress

Description: How to get Module s base address of windows by vc.-How to get Module's base address of windows b y vc.
Platform: | Size: 4335 | Author: ydnar | Hits:

[Other resource814code_asm

Description: 于ADuC812的智能无功补偿控制器的研制 一种眼科B型超声诊断议 SL11R单片机外部存储器扩展 单片机复位电路...支持键盘双击事件的C程序设计! 一些源程序 FrankLin C51 库函数的一些bug! VC++用ActiveX控件与单片机串行通信 -in ADuC812 intelligent reactive compensation controller development of a B-type ultrasonic ophthalmic diagnosis and SL11 SCM R external memory expansion MCU reset circuit keyboard support ... Double-click the C programming! some sources - C51 sequence FrankLin the function of some bug! VC using ActiveX controls and Serial Communication
Platform: | Size: 122201 | Author: mzy | Hits:

[JSP/Javathe-realization-of-J2EE

Description: 本文开发了一套基于J2EE技术的新兵思想评估系统。该系统基于多层B/S软件架构,提高了系统的稳定性、灵活性及安全性;通过使用UML的系统分析,MVC、DAO等设计模式及面向对象(VC++)的设计和开发,采用Spring、Hibernate、WebWork等框架技术,提高了开发的效率,为相关系统的设计开发探索了一条新思路。-paper develops a set of technologies based on J2EE recruits thinking evaluation system. The system is based on Multi-B / S software framework, improve the system stability, flexibility and safety; through the use of UML analysis, the MVC, DAO pattern and the design of object-oriented (VC + +), the design and development using Spring, Hibernate, WebWork framework of such technology, to improve the efficiency of the development, related to the exploration, design and development of a new idea.
Platform: | Size: 1739282 | Author: 王浩(jiqixueyuan) | Hits:

[Windows Develop社区视频监控系统所需文件

Description: 本程序使用的硬件是天敏VC4000监控卡,其中使用了Sa7134Capture.h、MediaTransmit.lib、Sa7134Capture.lib、MediaTransmit.dll、Mix.dll、MPG4c32.dll、Sa7134Capture.dll、xvidcore.dll、MediaTransmit.h、文件,在运行程序前,需要将这些文件添加到当前工程中。程序中没有提供这些文件。 服务器端主窗口用于初始化监控卡,检测视频信号,如果有视频信号则显示视频图像,服务器端主窗口效果如图1.1所示。(fdghbv setyhb vc ghjm dtyhnbfv)
Platform: | Size: 266240 | Author: 小勇哥哥 | Hits:

[Windows DevelopGuess!!

Description: 猜数字游戏:参与游戏的两方,一方出数字,一方猜数字。出数字的人要想好一个没有重复数字的4位数,不能让猜的人知道。猜的人就可以开始猜,每猜一个数字,出数者就要根据这个数字给出几A几B,其中A前面的数字表示位置正确的个数,而B前面的数字表示数字正确而位置不对的数的个数。(Guessing game: two parties who participate in the game, one side of the figures, the other side guessing numbers. People who figure out want a good 4 digit number without repeating numbers. Guess people can begin to guess, each guess a number, the number of those who will be based on this figure gives A a few a few B, A in front of a digital representation of the number of correct position, and B in front of the number indicates the number of correct and incorrect number of locations and the number of.)
Platform: | Size: 6065152 | Author: 狼太 | Hits:

[Windows DevelopVCtraining

Description: 实现a与b互换,功能很强,下载个东西,还让老子又是注册又是上传或付费,我上传你Mlg B(To achieve a and b interchangeable, powerful, download a thing, but also let me register and upload or pay, I upload you Mlg B)
Platform: | Size: 594944 | Author: edgedownload | Hits:

[Windows Develop曲线和曲面算法

Description: 代码包含以下算法:三叶梅花线,圆柱螺线,圆锥螺线,三次贝塞尔曲线,三次B样条曲线。 环形面,锥面,双线性曲面,旋转曲面,贝塞尔曲面,B样条曲面。(The code contains the following algorithms: three-leaf plum blossom line, cylindrical spiral, conical spiral, cubic Bezier curve, cubic B-spline curve. Torus, cone, bilinear surface, rotation surface, Bezier surface, B-spline surface.)
Platform: | Size: 44032 | Author: 汪翔 | Hits:
« 1 2 3 4 5 6 7 89 10 11 12 13 14 15 »

CodeBus www.codebus.net